package co.edu.unal.unlbs.persistence.entities;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Set;


/**
 * The persistent class for the Area_Interes database table.
 * 
 */
@Entity
@Table(name="Area_Interes")
public class Area_Intere implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="cod_area_interes")
	private String codAreaInteres;

    @Lob()
	@Column(name="desc_area_interes")
	private String descAreaInteres;

	@Column(name="nombre_area_interes")
	private String nombreAreaInteres;

	//bi-directional many-to-many association to Persona
	@ManyToMany(mappedBy="areaInteres")
	private Set<Persona> personas;

    public Area_Intere() {
    }

	public String getCodAreaInteres() {
		return this.codAreaInteres;
	}

	public void setCodAreaInteres(String codAreaInteres) {
		this.codAreaInteres = codAreaInteres;
	}

	public String getDescAreaInteres() {
		return this.descAreaInteres;
	}

	public void setDescAreaInteres(String descAreaInteres) {
		this.descAreaInteres = descAreaInteres;
	}

	public String getNombreAreaInteres() {
		return this.nombreAreaInteres;
	}

	public void setNombreAreaInteres(String nombreAreaInteres) {
		this.nombreAreaInteres = nombreAreaInteres;
	}

	public Set<Persona> getPersonas() {
		return this.personas;
	}

	public void setPersonas(Set<Persona> personas) {
		this.personas = personas;
	}
	
}